package com.cskaoyan.service;

import com.cskaoyan.bean.MarketOrder;
import com.cskaoyan.bean.common.BaseRespVo;
import com.cskaoyan.bean.common.CommonData;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author stone
 * @date 2023/03/17 19:21
 */
public interface OrderService {
    CommonData list(Integer userId, String orderSn, Date start, Date end, List<Short> orderStatusArray, Integer page, Integer limit, String sort, String order);

    Map<String, Object> detail(Integer id);

    BaseRespVo refund(Integer orderId, String refundMoney);

    BaseRespVo ship(Integer orderId, String shipSn, String shipChannel);

    BaseRespVo remove(Integer orderId);

    int deleteById(Integer orderId);
}
